package cn.thu.thss.mla.structure;
import java.util.HashMap;

public class RowMutationInfo {
	private String rowMutationId;
	private String keyspaceName;
	private String keyInHex;
	private HashMap<Integer, MessageInfo> messages;
	
	public RowMutationInfo() {
		messages = new HashMap<Integer, MessageInfo>();
	}

	public String getRowMutationId() {
		return rowMutationId;
	}

	public void setRowMutationId(String rowMutationId) {
		this.rowMutationId = rowMutationId;
	}

	public String getKeyspaceName() {
		return keyspaceName;
	}

	public void setKeyspaceName(String keyspaceName) {
		this.keyspaceName = keyspaceName;
	}

	public HashMap<Integer, MessageInfo> getMessages() {
		return messages;
	}

	public void setMessages(HashMap<Integer, MessageInfo> messages) {
		this.messages = messages;
	}

	public String getKeyInHex() {
		return keyInHex;
	}

	public void setKeyInHex(String keyInHex) {
		this.keyInHex = keyInHex;
	}

	@Override
	public String toString() {
		return "RowMutationInfo [rowMutationId=" + rowMutationId
				+ ", keyspaceName=" + keyspaceName + ", keyInHex=" + keyInHex + "]";
	}
	
}
